/*
 * Example4Container.java  0.4.0 / 2010-10-22
 *
 * Copyright (c) 2010 - 2011, cute4j.com and contributors.
 *
 * This software is licensed under the LGPL version 2.1 license.
 * A copy of this license is included in the file LICENSE-LGPL.txt.
 */
package com.cute4j.examples;

import com.cute4j.swing.Label;
import com.cute4j.swing.Panel;
import com.cute4j.swing.Swing;

/**
 * Container Example.
 */
public class Example4Container {

  public static void main(String[] args) {
    Panel panel = new Panel();
    panel.setName("Container");
    for (int i = 1; i <= 8; i++) {
      panel.add(new Label("Label" + i));
    }
    panel.setSize(200, 60);
    panel.setVisible(true);
    Swing.startEventLoop();
  }

}
